This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Thank you all for the help...I have modified the code and it is working fine now.
Sub Initialize
Dim s As New NotesSession
Dim ws As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Dim filesys As String
Dim FullPath As String
Dim OUName As String
Dim FileName As String
Dim Path As string
Dim db As NotesDatabase
Dim view As NotesView
Dim doc As NotesDocument
Dim Object As NotesEmbeddedObject
Dim IDFile As string
Set doc = uidoc.document
Call uidoc.Save
Dim FullPath1 As Variant
FullPath = doc.GetItemValue("FullPath")(0)
Dim rtitem As New NotesRichTextItem (doc, "FileName")
Set Object = rtitem.EmbedObject(EMBED_ATTACHMENT,"",IDFile,OUName)
Call doc.Save(True,True)
End Sub
Feedback response number WEBB94WGQY created by ~Howard Nimnukonygon on 02/14/2013